export default {
  'POST /api/risk/page': (req, res) => {
    res.send({
      "code": "200",
      "errorMsg": "SUCCESS",
      "data":
      {
        list: [
          {
            "id": 1,
            "name": '设备名称1',
            "position": '设备位置2',
            "riskOrigin": '隐患来源2',
            "operatePeople": '处理人',
            "operateStatus": '待指派',
            "isOver": '0'

          },
          {
            "id": 2,
            "name": '设备名称1',
            "position": '设备位置2',
            "riskOrigin": '隐患来源2',
            "operatePeople": '处理人',
            "operateStatus": '待处理',
            "isOver": '0'

          },
          {
            "id": 3,
            "name": '设备名称1',
            "position": '设备位置2',
            "riskOrigin": '隐患来源2',
            "operatePeople": '处理人',
            "operateStatus": '待核实',
            "isOver": '0'

          },
          {
            "id": 4,
            "name": '设备名称1',
            "position": '设备位置2',
            "riskOrigin": '隐患来源2',
            "operatePeople": '处理人',
            "operateStatus": '已完成',
            "isOver": '0'

          }
        ]
      }
    }

    );
  },



  'POST /api/risk/detail/:id': (req, res) => {
    res.send({
      code: '200',
      errorMsg: 'SUCCESS',
      data: {
        "id": 1,
        "riskState": '已完成',
        "occurTime": '2019年08月12日  19：00',
        "deviceName": '灭火器',
        "devicePosition": 'A座-1楼-101门口',
        "riskDesc": '掉漆；有破损',
        "riskOrign": '消防巡检'

      }
    });
  },

}